Package com.rakuten.android.ads.runa

Types

Link copied to clipboard
class AdLoader

Use AdLoader to display multiple ads with one load, such as displaying carousel ads.
AdLoader consists of a Builder pattern, so need to declare the AdLoader$Builder class and add some parameters to load ads.
Add AdView to draw with the Builder, and sets AdLoaderStateListener to detect the loading status of AdLoader as needed.
Generates AdLoader with build method after added parameters to the Builder, AdLoader starts loading ads that uses execute method.
When loading starts, the loaded AdView will be drawn in sequence. At this time, the drawing order cannot be controlled.
Also, when loading ads with AdLoader, you don't need to implement deduplication with RunaAdSession, because this includes deduplication functionality.

-> Sample Code

Link copied to clipboard
abstract class AdLoaderStateListener : AdStateListener

A listener for receiving notifications during the lifecycle of an ad.

Link copied to clipboard
enum AdSize : Enum<AdSize>

This class defines the size of AdView.

Link copied to clipboard
abstract class AdStateListener

A listener for receiving notifications during the lifecycle of an ad.

Link copied to clipboard
class AdView : BaseAdView, BannerAdClient

The View to display Banner ads.
An ad spot ID must be set prior to calling show().

-> Sample Code

Link copied to clipboard
abstract class CarouselAdStateListener : AdStateListener

A listener for receiving notifications during the lifecycle of ads.

Link copied to clipboard
class CarouselAdView : BaseCarouselAdView, CarouselAdClient

View object for carousel ads. Ad spot ID or Ad spot Code must be set prior to calling show().

-> Sample Code

Link copied to clipboard
enum ErrorState : Enum<ErrorState>

Indicates the status when an error occurred in AdRequest.

Link copied to clipboard
object Runa

The configuration of Ad SDK.

-> Sample Code

Link copied to clipboard
class RunaAdSession : AdSession

Uses this class to avoid duplication of display ad content, in case of sets multiple AdView on same Screen.

-> Sample Code